﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace sccf.Views
{
    public partial class Exito : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string Valor;
            Valor = Request.QueryString["razon"];
            string url = "";
            Label1.Text = Valor;
            if (Vars.TipoUsuario.CompareTo("Admin") == 0)
                url = "Menú_Director.aspx";
            else if (Vars.TipoUsuario.CompareTo("Asist") == 0)
                url = "Menú_Asistente.aspx";
            else
                url = "www.google.co.cr";
            Response.AddHeader("REFRESH", "3;"+url);
            
        }
    }
}